package com.allqj.sfx.ddd.member.infrastructure.dao;

import com.allqj.sfx.ddd.member.infrastructure.po.FlowDefDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @author sjw
 * @className FlowDefDAO
 * @date 2022/7/21 9:32
 * @description: 数据访问层
 */
public interface FlowDefDAO extends JpaRepository<FlowDefDO, Integer>, JpaSpecificationExecutor<FlowDefDO> {
    FlowDefDO findByModuleIdAndFunctionIdAndStatusAndIsdeleteFalse(Integer moduleId, Integer functionId, Integer status);
}
